package com.hjxr.quota.define.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 维度详细-字段关联表实体类
 * @author ma
 * @version v1.0
 * @date 2020/9/16
 **/
@Data
@ApiModel
@TableName("quota_dimension_detail")
@KeySequence(value = "seq_quota_dimension_detail", clazz = Integer.class)
public class DimDetail extends Model<DimDetail> {

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    @ApiModelProperty(value = "自增主键")
    private Integer id;
    @ApiModelProperty(value = "维度ID")
    private Integer dimensionId;
    @ApiModelProperty(value = "数据库中维度值")
    private  String codeValue;
    @ApiModelProperty(value = "数据表字段别名表ID")
    private Integer colnameId;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateDate;
}
